<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
	<head>
    </head>
    <body>
    	<table border = "0"  width = "100%">
		<tr bgcolor = "#fafafa">
			<td>
				<html:form action="/articleSearchAction">
					<table border="0">
						<tr>
							<td>
								<html:text name="articleSearchForm" property="input" size = "70"/>
								<html:select name="articleSearchForm" property="articleTypeId" >
								<html:option value="0">All Article Types</html:option>
									<html:optionsCollection name="articleSearchForm" property="articleTypeDTOList" 
										label ="articleType" value="articleTypeId"></html:optionsCollection>
								</html:select>
								<html:submit property="method" value="Search"><bean:message key="articleSearch.label.search" /></html:submit>
								<a href="<c:url value="/advancedSearchAction.do"/>">Advanced</a>								
							</td>						
						</tr>
					</table>
				</html:form>
			</td>
		</tr>        
        </table>
    </body>
</html>